package models

type Search struct {
	Id uint64 `gorm:"column:id"`
	ChatId int `gorm:"column:chat_id"`
	ChatName string `gorm:"column:chat_name"`
	MessageTable string `gorm:"column:message_table"`
	MessageIds string `gorm:"column:message_ids"`
	CreatedAt LocalTime `gorm:"column:created_at"`
}

func (Search) TableName() string {
	return "search_messages"
}
